package com.cqc.paoclient.ui.code.codedetail;

import com.cqc.paoclient.base.BaseRxPresenter;
import com.cqc.paoclient.base.BaseView;
import com.cqc.paoclient.model.BaseMsgModel;
import com.cqc.paoclient.model.CodeDetailModel;

/**
 * Created by ${cqc} on 2017/11/28.
 */

public interface CodeDetailContract {
    interface View extends BaseView {
        void getCodeDetailSuccess(CodeDetailModel codeDetailModel);

        void showFail(String msg);

        void stowSuccess(BaseMsgModel baseMsgModel);
    }

    abstract class Presenter extends BaseRxPresenter<View> {
        abstract void getCodeDetail(int codeId);

        abstract void stow(int codeId);
    }
}
